package com.weight.system.equmt.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 设备信息表
 */
@Data
public class EqumtInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "设备id")
	@JSONField(name = "equmtInfoId")
	private String equmtInfoId; //设备id

	@Excel(name = "设备名称")
	@NotBlank(message = "设备名称不能为空")
	@JSONField(name = "equmtName")
	private String equmtName; //设备名称

	@Excel(name = "设备IP")
	@NotBlank(message = "设备IP不能为空")
	@JSONField(name = "equmtIp")
	private String equmtIp; //设备IP

	@Excel(name = "机构id")
	@NotBlank(message = "机构id不能为空")
	@JSONField(name = "orgId")
	private String orgId; //机构id

	@Excel(name = "维护周期(月)")
	@NotNull(message = "维护周期(月)不能为空")
	@JSONField(name = "fixCycle")
	private Integer fixCycle; //维护周期(月)

	@Excel(name = "设备状态")
	@NotNull(message = "设备状态不能为空")
	@JSONField(name = "equmtStatue")
	private Integer equmtStatue; //设备状态

	@Excel(name = "设备照片")
	@NotBlank(message = "设备照片不能为空")
	@JSONField(name = "equpicPath")
	private String equpicPath; //设备照片

	@Excel(name = "超载重量")
	@NotNull(message = "超载重量不能为空")
	@JSONField(name = "equmtOverload")
	private BigDecimal equmtOverload; //超载重量

	@Excel(name = "分度值")
	@NotBlank(message = "分度值不能为空")
	@JSONField(name = "equmtDiva")
	private String equmtDiva; //分度值

	@Excel(name = "跟踪")
	@NotBlank(message = "跟踪不能为空")
	@JSONField(name = "equmtDivb")
	private String equmtDivb; //跟踪

	@Excel(name = "通信")
	@NotBlank(message = "通信不能为空")
	@JSONField(name = "equmtDivc")
	private String equmtDivc; //通信

	@Excel(name = "传感器")
	@NotBlank(message = "传感器不能为空")
	@JSONField(name = "equmtDivd")
	private String equmtDivd; //传感器

	@Excel(name = "波特率")
	@NotBlank(message = "波特率不能为空")
	@JSONField(name = "equmtDive")
	private String equmtDive; //波特率

	@Excel(name = "经度")
	@NotBlank(message = "经度不能为空")
	@JSONField(name = "equmtLon")
	private String equmtLon; //经度

	@Excel(name = "纬度")
	@NotBlank(message = "纬度不能为空")
	@JSONField(name = "equmtLat")
	private String equmtLat; //纬度

	@Excel(name = "安装时间")
	@NotBlank(message = "安装时间不能为空")
	@JSONField(name = "takecareStdate")
	private String takecareStdate; //安装时间

	@Excel(name = "最新维护时间")
	@NotBlank(message = "最新维护时间不能为空")
	@JSONField(name = "takecareCudate")
	private String takecareCudate; //最新维护时间


	public  EqumtInfoVO(){
		super();
	}

	public  EqumtInfoVO(String equmtInfoId,String equmtName,String equmtIp,String orgId,Integer fixCycle,Integer equmtStatue,String equpicPath,BigDecimal equmtOverload,String equmtDiva,String equmtDivb,String equmtDivc,String equmtDivd,String equmtDive,String equmtLon,String equmtLat,String takecareStdate,String takecareCudate){
		super();
		this.equmtInfoId = equmtInfoId;
		this.equmtName = equmtName;
		this.equmtIp = equmtIp;
		this.orgId = orgId;
		this.fixCycle = fixCycle;
		this.equmtStatue = equmtStatue;
		this.equpicPath = equpicPath;
		this.equmtOverload = equmtOverload;
		this.equmtDiva = equmtDiva;
		this.equmtDivb = equmtDivb;
		this.equmtDivc = equmtDivc;
		this.equmtDivd = equmtDivd;
		this.equmtDive = equmtDive;
		this.equmtLon = equmtLon;
		this.equmtLat = equmtLat;
		this.takecareStdate = takecareStdate;
		this.takecareCudate = takecareCudate;
	}

}